home *** CD-ROM | disk | FTP | other *** search
/ Interactive Web Graphics with Shout 3D / Interactive Web Graphics With Shout 3D.iso / mac / Shout3Ddemo / S3D_2E1.exe / Shout3d_runtime / codebase / models / primitiveTest.wrl < prev    next >
Text File  |  2000-07-04  |  634b  |  42 lines

  1. #VRML V2.0 utf8
  2.  
  3. Transform {
  4.   translation    -5 0 0 
  5.   children    Shape {
  6.     appearance    DEF MY_APP Appearance {
  7.       material    Material {      }
  8.       texture    ImageTexture {
  9.             url    "images/shared/sky.gif"
  10.       }
  11.     }
  12.     geometry    Box {
  13.     }
  14.  
  15.   }
  16. }
  17. Transform {
  18.   translation    -2 0 0
  19.   children    Shape {
  20.     appearance    USE MY_APP 
  21.  
  22.     geometry    DEF MY_CONE Cone {    }
  23.  
  24.   }
  25.  
  26. }
  27. Transform {
  28.   translation 1 0 0  children    Shape {
  29.     appearance    USE MY_APP 
  30.     geometry    DEF MY_CYLINDER Cylinder {
  31.     }
  32.  
  33.   }
  34. }
  35. Transform {
  36.   translation 4 0 0    children    Shape {
  37.     appearance    USE MY_APP 
  38.     geometry    DEF MY_SPHERE Sphere {
  39.     }
  40.   }
  41. }
  42.